const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    proxy: {  //配置跨域
      '/api': {
        target: 'http://121.89.205.189:3001',  //需要解决跨域的地址
        pathRewrite: {
          '^/api': '' ,
          changeOrigin:true
        }
      },
      
    }
  },
})
